home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / X11 / app-defaults / Xedit < prev    next >
Text File  |  2008-08-27  |  15KB  |  463 lines

  1. ! $XFree86: xc/programs/xedit/Xedit.ad,v 1.23 2002/09/22 07:09:05 paulo Exp $
  2.  
  3. *geometry:                590x440
  4. *input:                    TRUE
  5. *enableBackups:                True
  6. *backupNameSuffix:            ~
  7. *changedBitmap:                xlogo11
  8. *international:                         True
  9.  
  10. *hints:\
  11. Use Control-S and Control-R to Search.\n\
  12. Use Control-Shift-_ to Undo. Control-G to switch between Undo and Redo.\n\
  13. Use Control-A to jump to the beginning of the line.\n\
  14. Use Control-E to jump to the end of the line.\n\
  15. Use Control-T to transpose characters.\n\
  16. Use Control-K to cut to the end of the line. Control-Y to paste.\n\
  17. Use Control-Q to escape control characters.\n\
  18. Use Control-U[,<number>] to multiply actions. Control-G to cancel.\n\
  19. Use Control-Z to scroll one line up. Meta-Z to scroll one line down.\n\
  20. Use Meta-Q to format a paragraph.\n\
  21. Use Right-Button to extend selections.\n\
  22. Use Meta-I to insert a file.\n\
  23. Use Control-W to delete a selection, and/or jump to the selection mark.\n\
  24. Use Control-X,Control-F to find a file. Tab for filename completion.\n\
  25. Use Control-X,Control-S to save.\n\
  26. Use Control-X,Control-C to exit.\n\
  27. Use Control-C to paste the selection at CUT_BUFFER0.\n\
  28. Use Control Left-Button to popup the File Menu.\n\
  29. Use Control Middle-Button to popup the Edit Menu.\n\
  30. Use Control Right-Button to popup the Option Menu.\n\
  31. Use Control-X,Tab to Indent.\n\
  32. Use Control-X,0 to delete current splitted window.\n\
  33. Use Control-X,1 to delete other splitted window.\n\
  34. Use Control-X,2 to split the window vertically.\n\
  35. Use Control-X,3 to split the window horizontally.\n\
  36. Use Control-X,b to switch to another file.\n\
  37. Use Control-X,d to list directory. Control-G to Cancel.\n\
  38. Use Control-X,k to close file being edited.\n\
  39. Use Control-X,o to switch to another splitted window.\n\
  40. Use Control-X,u to undo. Control-G to switch between Undo and Redo.\n\
  41. Use Insert to toggle Overwrite mode.\n\
  42. Use Control-G to interrupt the lisp subprocess
  43.  
  44. *formWindow*defaultDistance:        2
  45. *formWindow.?.borderWidth:        0
  46. *formWindow.min:            18
  47. *formWindow.max:            18
  48. *formWindow.showGrip:            False
  49. *positionWindow.fromHoriz:        labelWindow
  50. *positionWindow.horizDistance:        0
  51. *positionWindow.left:            chainRight
  52. *positionWindow.right:            chainRight
  53. *positionWindow.width:            90
  54. *positionWindow.label:            error
  55. *positionWindow.justify:        left
  56. *labelWindow*justify:            center
  57. *labelWindow*label:            no file yet
  58. *labelWindow.left:            chainLeft
  59. *labelWindow.right:            chainRight
  60.  
  61. *quit.label:                Quit
  62. *quit.tip:                Close xedit window
  63. *save.label:                Save
  64. *save.tip:                Save current file
  65. *load.label:                Load
  66. *load.tip:                Load a new file
  67.  
  68. *buttons*orientation:            horizontal
  69. *buttons*showGrip:            False
  70. *buttons.min:                18
  71.  
  72. *messageWindow.height:            50
  73. *messageWindow.min:            18
  74. *Paned*Text*allowResize:        True
  75.  
  76. *messageWindow.autoFill:        False
  77. *messageWindow.scrollVertical:        Never
  78.  
  79. *editWindow.autoFill:            False
  80. *editWindow.scrollVertical:        Always
  81. *editWindow.showGrip:            True
  82. xedit.textSource*enableUndo:        True
  83.  
  84. *bc_label*label:            Use Control-S and Control-R to Search.
  85. *bc_label*showGrip:            False
  86. *bc_label.min:                18
  87.  
  88. *dirlabel.showGrip:            False
  89. *dirlabel.min:                18
  90. *dirlabel.max:                18
  91.  
  92. *dirwindow.defaultColumns:        0
  93. *dirwindow.verticalList:        True
  94.  
  95. *viewport.forceBars:            True
  96. *viewport.allowVert:            1
  97.  
  98. *insertFile*text.width:            141
  99. *insertFile*text.?.pieceSize:        256
  100. *search*searchText.width:        157
  101. *search*replaceText.width:        157
  102. *search*case.horizDistance:        25
  103. *search*Text.?.pieceSize:        256
  104.  
  105. *SimpleMenu.BackingStore:        NotUseful
  106. *SimpleMenu.menuLabel.vertSpace:    80
  107. *SimpleMenu.SmeBSB.HorizontalMargins:    16
  108. *SimpleMenu.justify:            center
  109. *SimpleMenu.menuLabel.height:        250
  110. *SimpleMenu*cursor:            left_ptr
  111.  
  112. *fileMenu.label:            File Menu
  113. *optionsMenu.label:            Option Menu
  114. *optionsMenu.ispell.label:        ispell...
  115. *editMenu.label:            Edit Menu
  116. *editMenu.wrapMenuItem.label:        Wrapping
  117. *editMenu.wrapMenuItem.leftBitmap:    menu12
  118. *wrapMenu.never.label:            Never
  119. *wrapMenu.line.label:            Line
  120. *wrapMenu.word.label:            Word
  121. *editMenu.autoFill.label:        Auto Fill
  122. *editMenu.justifyMenuItem.label:    Justification
  123. *editMenu.justifyMenuItem.leftBitmap:    menu12
  124. *justifyMenu.left.label:        Left
  125. *justifyMenu.right.label:        Right
  126. *justifyMenu.center.label:        Center
  127. *justifyMenu.full.label:        Full
  128. *editMenu.breakColumns.label:        Break Columns...
  129. *editMenu.scrollMenuItem.label:        Scrollbars
  130. *editMenu.scrollMenuItem.leftBitmap:    menu12
  131. *scrollMenu.vertical.label:        Vertical
  132. *scrollMenu.horizontal.label:        Horizontal
  133. *editMenu.modeMenuItem.leftBitmap:    menu12
  134. *editMenu.modeMenuItem.label:        Edit Mode
  135. *editModes.none.label:            Plain/None
  136.  
  137. *TransientShell*Text.translations: #override \
  138. c<Key>S:    no-op(r)\n\
  139. c<Key>R:    no-op(r)\n\
  140. m<Key>I:    no-op(r)
  141.  
  142. *search.translations: #override \
  143. <Create>:get-values(my, $w, width, $h, height)\
  144.     set-values(1, minWidth, $w, minHeight, $h, maxHeight, $h, allowShellResize, False)
  145.  
  146. *insertFile.title:            Insert File
  147. *insertFile.translations: #override \
  148. <Create>:get-values(my, $w, width, $h, height)\
  149.     set-values(1, minWidth, $w, minHeight, $h, maxHeight, $h, allowShellResize, False)
  150.  
  151. *baseTranslations: #override \
  152. <Ctrl>X,<Ctrl>C:quit()\n\
  153. <Ctrl>X,<Ctrl>S:save-file()\n\
  154. <Ctrl>X,<Ctrl>F:find-file()\n\
  155. <Key>Escape:    line-edit()
  156.  
  157. *messageWindow.Translations: #override \
  158. <Ctrl>X,<Ctrl>C:quit()\n\
  159. <Ctrl>X,<Ctrl>S:save-file()\n\
  160. <Ctrl>X,<Ctrl>F:find-file()\n\
  161. <Enter>:    no-op()\n\
  162. <Leave>:    no-op()\n\
  163. <Btn1Down>:    set-keyboard-focus() select-start()
  164.  
  165. *searchText.Translations: #override \
  166. <Enter>:    no-op()\n\
  167. <Leave>:    no-op()\n\
  168. <Btn1Down>:    set-keyboard-focus() select-start()
  169.  
  170. *replaceText.Translations: #override \
  171. <Enter>:    no-op()\n\
  172. <Leave>:    no-op()\n\
  173. <Btn1Down>:    set-keyboard-focus() select-start()
  174.  
  175. *editWindow.translations: #override \
  176. <Ctrl>X,<Ctrl>E:lisp-eval()\n\
  177. <Ctrl>X,<Key>Tab:indent()\n\
  178. <Ctrl>X,:<Key>0:delete-window(current)\n\
  179. <Ctrl>X,:<Key>1:delete-window(other)\n\
  180. <Ctrl>X,:<Key>2:split-window(vertical)\n\
  181. <Ctrl>X,:<Key>3:split-window(horizontal)\n\
  182. <Ctrl>X,!l @Num_Lock<Key>b:switch-source()\n\
  183. <Ctrl>X,!l <Key>b:switch-source()\n\
  184. <Ctrl>X,!@Num_Lock<Key>b:switch-source()\n\
  185. <Ctrl>X,!<Key>b:switch-source()\n\
  186. <Ctrl>X,!l @Num_Lock<Key>d:dir-window()\n\
  187. <Ctrl>X,!l <Key>d:dir-window()\n\
  188. <Ctrl>X,!@Num_Lock<Key>d:dir-window()\n\
  189. <Ctrl>X,!<Key>d:dir-window()\n\
  190. <Ctrl>X,!l @Num_Lock<Key>k:kill-file()\n\
  191. <Ctrl>X,!l <Key>k:kill-file()\n\
  192. <Ctrl>X,!@Num_Lock<Key>k:kill-file()\n\
  193. <Ctrl>X,!<Key>k:kill-file()\n\
  194. <Ctrl>X,!l @Num_Lock<Key>o:other-window()\n\
  195. <Ctrl>X,!l <Key>o:other-window()\n\
  196. <Ctrl>X,!@Num_Lock<Key>o:other-window()\n\
  197. <Ctrl>X,!<Key>o:other-window()\n\
  198. <Ctrl>X,!l @Num_Lock<Key>u:undo()\n\
  199. <Ctrl>X,!l <Key>u:undo()\n\
  200. <Ctrl>X,!@Num_Lock<Key>u:undo()\n\
  201. <Ctrl>X,!<Key>u:undo()\n\
  202. <Ctrl>G:    xedit-keyboard-reset()\n\
  203. <Ctrl>J:    xedit-print-lisp-eval()\n\
  204. <Key>Tab:    insert-char()\n\
  205. !l @Num_Lock<Key>b:insert-char()\n\
  206. !l <Key>b:    insert-char()\n\
  207. !@Num_Lock<Key>b:insert-char()\n\
  208. !<Key>b:    insert-char()\n\
  209. !l @Num_Lock<Key>d:insert-char()\n\
  210. !l <Key>d:    insert-char()\n\
  211. !@Num_Lock<Key>d:insert-char()\n\
  212. !<Key>d:    insert-char()\n\
  213. !l <Key>k:    insert-char()\n\
  214. !l @Num_Lock<Key>k:insert-char()\n\
  215. !@Num_Lock<Key>k:insert-char()\n\
  216. !<Key>k:    insert-char()\n\
  217. !l @Num_Lock<Key>o:insert-char()\n\
  218. !l <Key>o:    insert-char()\n\
  219. !@Num_Lock<Key>o:insert-char()\n\
  220. !<Key>o:    insert-char()\n\
  221. !l @Num_Lock<Key>u:insert-char()\n\
  222. !l <Key>u:    insert-char()\n\
  223. !@Num_Lock<Key>u:insert-char()\n\
  224. !<Key>u:    insert-char()\n\
  225. ~s <Key>Insert:    toggle-overwrite()\n\
  226. c l @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
  227. c @Num_Lock<Btn1Down>:xedit-focus() popup-menu(fileMenu)\n\
  228. c l<Btn1Down>:    xedit-focus() popup-menu(fileMenu)\n\
  229. c<Btn1Down>:    xedit-focus() popup-menu(fileMenu)\n\
  230. c l @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
  231. c @Num_Lock<Btn2Down>:xedit-focus() popup-menu(editMenu)\n\
  232. c l<Btn2Down>:    xedit-focus() popup-menu(editMenu)\n\
  233. c<Btn2Down>:    xedit-focus() popup-menu(editMenu)\n\
  234. c l @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
  235. c @Num_Lock<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
  236. c l<Btn3Down>:xedit-focus() popup-menu(optionsMenu)\n\
  237. c<Btn3Down>:    xedit-focus() popup-menu(optionsMenu)\n\
  238. <Btn1Down>:    xedit-focus() select-start()
  239.  
  240. *filename.?.pieceSize:            256
  241. *filename.translations: #override \
  242. c<Key>S:    no-op(r)\n\
  243. c<Key>R:    no-op(r)\n\
  244. m<Key>I:    no-op(r)\n\
  245. c<Key>G:    cancel-find-file()\n\
  246. <Key>Return:    load-file()\n\
  247. <Key>Tab:    file-completion(h)\n\
  248. <Key>Escape:    cancel-find-file()\n\
  249. <Enter>:    no-op()\n\
  250. <Leave>:    no-op()\n\
  251. <Btn1Down>:    set-keyboard-focus() select-start()
  252.  
  253. *ispell.translations:    #override \
  254. <Message>WM_PROTOCOLS:    ispell(end)
  255.  
  256. ! Sample dictionary, word chars and text mode resources setup
  257. !*ispell.dictionary:            br
  258. !*ispell.dictionaries:            br american americanmed+ english
  259. !*ispell*br.wordChars:            ßΘφ≤·τ┴╔═╙┌╟α└ΓΩ⌠┬╩╘ⁿ▄π⌡├╒-
  260. !*ispell.ispellCommand:            /usr/local/bin/ispell -B -m
  261. !*ispell*text.skipLines:        .#
  262.  
  263. *ispell.geometry:            0x0
  264. *ispell.minWidth:            320
  265. *ispell.minHeight:            245
  266. *ispell*Label.borderWidth:        0
  267. *ispell*Label.internalHeight:        4
  268. *ispell*Label.justify:            right
  269. *ispell*Label.width:            112
  270. *ispell*Label.left:            chainLeft
  271. *ispell*Label.right:            chainLeft
  272. *ispell*Label.top:            chainTop
  273. *ispell*Label.bottom:            chainTop
  274. *ispell*mispelled.label:        Misspelled word:
  275. *ispell*mispelled.top:            chainTop
  276. *ispell*mispelled.bottom:        chainTop
  277. *ispell*mispelled.internalWidth:    0
  278. *ispell*repeated.label:            Repeated words:
  279. *ispell*repeated.internalWidth:        0
  280. *ispell*replacement.label:        Replace with:
  281. *ispell*word.fromHoriz:            mispelled
  282. *ispell*word.justify:            left
  283. *ispell*word.borderWidth:        1
  284. *ispell*word.internalWidth:        4
  285. *ispell*word.internalHeight:        3
  286. *ispell*word.width:            194
  287. *ispell*word.left:            chainLeft
  288. *ispell*word.right:            chainRight
  289. *ispell*word.top:            chainTop
  290. *ispell*word.bottom:            chainTop
  291. *ispell*word.label:
  292. *ispell*word.tip:            Press here to select this text
  293. *ispell*word.highlightThickness:    0
  294. *ispell*text.fromHoriz:            replacement
  295. *ispell*replacement.fromVert:        mispelled
  296. *ispell*replacement.internalWidth:    0
  297. *ispell*form.text.fromVert:        word
  298. *ispell*form.text.width:        194
  299. *ispell*form.text.top:            chainTop
  300. *ispell*form.text.bottom:        chainTop
  301. *ispell*form.text.left:            chainLeft
  302. *ispell*form.text.right:        chainRight
  303. *ispell*form.text.leftMargin:        4
  304. *ispell*form.text.?.pieceSize:        256
  305. *ispell*suggestions.label:        Suggestions:
  306. *ispell*suggestions.fromVert:        replacement
  307. *ispell*suggestions.internalWidth:    0
  308. *ispell*viewport.fromHoriz:        suggestions
  309. *ispell*viewport.fromVert:        text
  310. *ispell*viewport.width:            194
  311. *ispell*viewport.height:        143
  312. *ispell*viewport.top:            chainTop
  313. *ispell*viewport.bottom:        chainBottom
  314. *ispell*viewport.left:            chainLeft
  315. *ispell*viewport.right:            chainRight
  316. *ispell*viewport.forceBars:        1
  317. *ispell*viewport.allowVert:        1
  318. *ispell*list.defaultColumns:        1
  319. *ispell*list.longest:            16384
  320. *ispell*commands.vertDistance:        5
  321. *ispell*commands.fromVert:        suggestions
  322. *ispell*commands.top:            chainBottom
  323. *ispell*commands.bottom:        chainBottom
  324. *ispell*commands.right:            chainLeft
  325. *ispell*commands.left:            chainLeft
  326. *ispell*check.label:            Check
  327. *ispell*check.width:            54
  328. *ispell*check.tip:            Ask ispell about the word in the text field
  329. *ispell*look.label:            Look
  330. *ispell*look.fromHoriz:            check
  331. *ispell*look.horizDistance:        0
  332. *ispell*look.width:            46
  333. *ispell*look.tip:            Runs the look command
  334. *ispell*undo.fromVert:            check
  335. *ispell*undo.label:            Undo
  336. *ispell*undo.width:            102
  337. *ispell*undo.tip:            Undo last action
  338. *ispell*replace.fromVert:        undo
  339. *ispell*replace.label:            Replace
  340. *ispell*replace.tip:            Replace occurence of the word
  341. *ispell*replaceAll.fromVert:        undo
  342. *ispell*replaceAll.fromHoriz:        replace
  343. *ispell*replaceAll.label:        All
  344. *ispell*replaceAll.tip:            Replace all occurences of the word
  345. *ispell*ignore.fromVert:        replace
  346. *ispell*ignore.label:            Ignore
  347. *ispell*ignore.tip:            Ignore this word
  348. *ispell*ignoreAll.fromVert:        replaceAll
  349. *ispell*ignoreAll.fromHoriz:        ignore
  350. *ispell*ignoreAll.label:        All
  351. *ispell*ignoreAll.tip:            Ignore all ocurrences of the word
  352. *ispell*add.fromVert:            ignore
  353. *ispell*add.label:            Add
  354. *ispell*add.width:            50
  355. *ispell*add.tip:            Add word to your private dictionary
  356. *ispell*addUncap.fromVert:        ignoreAll
  357. *ispell*addUncap.fromHoriz:        add
  358. *ispell*addUncap.label:            Uncap
  359. *ispell*addUncap.horizDistance:        0
  360. *ispell*addUncap.width:            50
  361. *ispell*addUncap.tip:            Add word uncapitalized, to your private dictionary
  362. *ispell*suspend.fromVert:        add
  363. *ispell*suspend.label:            Suspend
  364. *ispell*suspend.width:            57
  365. *ispell*suspend.tip:            Suspend ispell execution
  366. *ispell*cancel.fromHoriz:        suspend
  367. *ispell*cancel.fromVert:        addUncap
  368. *ispell*cancel.label:            Close
  369. *ispell*cancel.width:            43
  370. *ispell*cancel.horizDistance:        0
  371. *ispell*cancel.tip:            Terminates ispell process
  372. *ispell*replace.width:            65
  373. *ispell*ignore.width:            65
  374. *ispell*replaceAll.width:        35
  375. *ispell*replaceAll.horizDistance:    0
  376. *ispell*ignoreAll.width:        35
  377. *ispell*ignoreAll.horizDistance:    0
  378. *ispell*terse.fromVert:            cancel
  379. *ispell*terse.Label:            Terse Mode
  380. *ispell*terse.width:            104
  381. *ispell*terse.borderWidth:        0
  382. *ispell*terse.tip:            Switch terse mode
  383. *ispell*status.fromVert:        viewport
  384. *ispell*status.fromHoriz:        suggestions
  385. *ispell*status.top:            chainBottom
  386. *ispell*status.bottom:            chainBottom
  387. *ispell*status.left:            chainLeft
  388. *ispell*status.right:            chainRight
  389. *ispell*status.width:            194
  390. *ispell*status.borderWidth:        1
  391. *ispell*status.justify:            left
  392. *ispell*status.internalHeight:        2
  393. *ispell*status.vertDistance:        2
  394. *ispell*options.fromVert:        status
  395. *ispell*options.fromHoriz:        commands
  396. *ispell*options.bottom:            chainBottom
  397. *ispell*options.top:            chainBottom
  398. *ispell*options.left:            chainLeft
  399. *ispell*options.right:            chainRight
  400. *ispell*options.dict.width:        121
  401. *ispell*options.horizDistance:        2
  402. *ispell*options.vertDistance:        2
  403. *ispell*options.defaultDistance:    2
  404. *ispell*dict.highlightThickness:    0
  405. *ispell*dict.justify:            left
  406. *ispell*dict.resizable:            False
  407. *ispell*dict.leftBitmap:        menu12
  408. *ispell*dict.label:            Dictionary
  409. *ispell*dict.tip:            Change dictionary
  410. *ispell*options.format.width:        65
  411. *ispell*format.highlightThickness:    0
  412. *ispell*format.justify:            left
  413. *ispell*format.resizable:        False
  414. *ispell*format.leftBitmap:        menu12
  415. *ispell*format.fromHoriz:        dict
  416. *ispell*format.horizDistance:        0
  417. *ispell*format.tip:            Select text type
  418.  
  419. *columns.minWidth:            140
  420. *columns.minHeight:            76
  421. *columns.maxWidth:            140
  422. *columns.maxHeight:            76
  423. *columns.form*defaultDistance:        4
  424. *columns*left:                chainLeft
  425. *columns*right:                chainLeft
  426. *columns*top:                chainTop
  427. *columns*bottom:            chainTop
  428. *columns*Label.width:            96
  429. *columns*Label.borderWidth:        0
  430. *columns*Label.internalHeight:        4
  431. *columns*Label.internalWidth:        2
  432. *columns*Label.justify:            right
  433. *columns*Text.width:            30
  434. *columns*Command.width:            58
  435. *columns*leftLabel.label:        Left Column:
  436. *columns*left.fromHoriz:        leftLabel
  437. *columns*rightLabel.label:        Right Column:
  438. *columns*rightLabel.fromVert:        leftLabel
  439. *columns*right.fromHoriz:        rightLabel
  440. *columns*right.fromVert:        left
  441. *columns*ok.fromVert:            rightLabel
  442. *columns*cancel.fromHoriz:        ok
  443. *columns*cancel.fromVert:        rightLabel
  444. *columns*cancel.horizDistance:        12
  445. *columns*Text.?.pieceSize:        8
  446.  
  447. *columns*Text.translations: #override \
  448. c<Key>S:    no-op(r)\n\
  449. c<Key>R:    no-op(r)\n\
  450. m<Key>I:    no-op(r)\n\
  451. <Key>Return:    set-columns(ok)\n\
  452. <Key>Tab:    change-field()\n\
  453. c<Key>G:    set-columns(cancel)\n\
  454. <Key>Escape:    set-columns(cancel)\n\
  455. <Enter>:    no-op()\n\
  456. <Leave>:    no-op()\n\
  457. <Btn1Down>:    set-keyboard-focus() select-start()
  458.  
  459. *columns.translations:    #override \
  460. <Message>WM_PROTOCOLS:    set-columns(cancel)
  461.  
  462. ! EOF.
  463.